6c529d35090d927088c9213b6a98f485cb331f94,core/src/main/java/net/mabako/steamgifts/tasks/Utils.java,Utils,loadComment,#Element#number#number#boolean#Comment.Type#,78

Before Change


        comment.setContent(content);

        // check if the comment is deleted
        comment.setDeleted(element.select(".comment__summary").first().select(".comment__delete-state").size() == 1);

        comment.setHighlighted(element.select(".comment__parent > .comment__envelope").size() != 0);

After Change



        // check if the comment is deleted
        if (type == Comment.Type.COMMENT) {
            comment.setDeleted(element.select(".comment__summary").first().select(".comment__delete-state").size() == 1);
            comment.setHighlighted(element.select(".comment__parent > .comment__envelope").size() != 0);

            Element roleName = element.select(".comment__role-name").first();